﻿using Microsoft.AspNetCore.Mvc.Rendering;
using PMS.Core.Configuration.CommonEnumConfigs;
using PMS.Web.Framework.Models;
using PMS.Web.Models.Stores;
using System.Collections.Generic;
using System.ComponentModel;

namespace PMS.Web.Models.NaviMenus
{
    public class NaviMenuSearchModel : BaseSearchModel
    {
        #region Ctor

        public NaviMenuSearchModel()
        {
            SearchStoreId = 0;
            AvailableLanguages = new List<SelectListItem>();
            AvailableStores = new List<StoreSelectModel>();
        }

        #endregion

        #region Properties

        [DisplayName("语言")]
        public string LanguageCode { get; set; }

        public MenuGroups Group { get; set; }

        public IList<SelectListItem> AvailableLanguages { get; set; }

        [DisplayName("指定店铺")]
        public int SearchStoreId { get; set; }

        public IList<StoreSelectModel> AvailableStores { get; set; }

        #endregion

    }
}
